# $Id: PKGBUILD 65903 2012-02-22 13:31:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-object-realize-later
pkgver=0.18
pkgrel=4
pkgdesc="Perl/CPAN Module Object::Realize::Later : Delay construction of real data until used"
arch=("any")
url="http://search.cpan.org/~markov/Object-Realize-Later/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/M/MA/MARKOV/Object-Realize-Later-$pkgver.tar.gz")
md5sums=('ec109cd68b40cf25090cc52b6cfbabaf')

build() {
  cd $srcdir/Object-Realize-Later-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
